package com.libc.yygh.model.acl;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.libc.yygh.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * *
 * Created with Description: 用户角色
 *
 * @fileRelativePath: UserRole.java
 * @Date: Created on 2022/4/7  15:25  <br>
 * @author: LiBencheng <br>
 * @version: 1.0 <br>
 */
@Data
@ApiModel (description = "用户角色")
@TableName ("acl_user_role")
public class UserRole extends BaseEntity
{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty (value = "角色id")
    @TableField ("role_id")
    private Long roleId;

    @ApiModelProperty (value = "用户id")
    @TableField ("user_id")
    private Long userId;

}

